package net.mymilkedeek.ludum.tinythumb;

import org.newdawn.slick.SlickException;
import org.newdawn.slick.tiled.TiledMap;

/**
 * TODO: Write Documentation
 *
 * @author Michael Demey
 */
public class MapFactory {
    
    public static final int start = 0;
    
    public static TiledMap getMap(int mapId) throws SlickException {
        TiledMap tiledMap = null;
        
        switch ( mapId ) {
            case start:
                tiledMap = new TiledMap("/resources/tiled/map-start.tmx");
                break; // never forget the breaks
            default: // um yeah... not sure why, but whatever
                tiledMap = null;
                break;
        }
        
        return tiledMap;
    }
}
